#ifndef SENSOR_H
#define SENSOR_H

#include "rational.h"

using namespace rational;

class Sensor
{
public:
	Sensor(int id ,Rational latitude,Rational temperature);

	void SetTemperature(Rational newTemp);

	Rational GetTemperature() const;

	Rational GetLatitude() const;

private:
	int _id;
	Rational _latitude, _temperature;
};

#endif // SENSOR_H
